package com.qdxwx.models.coupon;

import java.io.Serializable;

/**
 * 优惠卷编码类
 *
 */

public class CouponCodeQuery implements Serializable{

    private static final long serialVersionUID = -8103306322458461961L;

	/**
	 * 优惠卷id
	 */
    private Long couponId;
    /**
     * 优惠卷状态）1未使用2为已使用3过期4作废5即将过期
     */
    private Integer status;
    /**
     * 订单request_id
     */
    private String orderNo;
    /**
     * 订单id
     */
    private Integer orderId;
    /**
     * 使用者id
     */
    private Long userId;
    /**
     * 使用者 昵称
     */
    private String userName;
    /**
     * 优惠卷编码
     */
    private String couponCode;
    /**
     * 使用限额0.不限制，否则大于等于
     */
    private Integer limitAmount;

    /**
     * 生成类型：1。公用（只生成1个优惠券，有效期内所有人都可以使用）2，每人独立使用
     */
    private Integer useType;
    /**
     * 类型1为打折2定额3会员优惠券（定额）
     */
    private Integer type;
    /**
     * 是否支付
     */
    private Integer isPay;

    public CouponCodeQuery() {
    }

    public Long getCouponId() {
        return couponId;
    }

    public void setCouponId(Long couponId) {
        this.couponId = couponId;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getCouponCode() {
        return couponCode;
    }

    public void setCouponCode(String couponCode) {
        this.couponCode = couponCode;
    }

    public Integer getLimitAmount() {
        return limitAmount;
    }

    public void setLimitAmount(Integer limitAmount) {
        this.limitAmount = limitAmount;
    }

    public Integer getUseType() {
        return useType;
    }

    public void setUseType(Integer useType) {
        this.useType = useType;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getIsPay() {
        return isPay;
    }

    public void setIsPay(Integer isPay) {
        this.isPay = isPay;
    }
}
